using System.Runtime.InteropServices;
using Baula.TextGen.ComAndVbeIntegration.ComInterfaces;
using Baula.TextGen.Framework.Tools;

namespace Baula.TextGen.ComAndVbeIntegration
{
    [ComVisible(true)]
    [Guid("D84D1F8B-1B04-4815-957A-E68F57CA16D6")]
    [ClassInterface(ClassInterfaceType.None)]
    public class PartTemplate : Framework.PartTemplate, IPartTemplateForCom
    {
        internal PartTemplate(string headingLine) 
            : base(headingLine)
        { }

        internal PartTemplate()
        { }

        IPartForCom IPartTemplateForCom.CreatePart()
        {
            return (IPartForCom) Factory.CreatePart(this);
        }
    }
}